home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ShareWare OnLine 2
/
ShareWare OnLine Volume 2 (CMS Software)(1993).iso
/
util2
/
pgp22src.zip
/
SRC
/
MDFILE.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-03-07
|
594b
|
18 lines
/* mdfile.h - C headers for PGP MD5 Message digest routines.
PGP 1.0 used MD4, now we use MD5.
*/
#include "md5.h" /* for MD5 message digest stuff */
/* Prototypes for MD5 routines */
/* Computes and returns the message digest from file position,longcount bytes */
int MDfile0_len(MD5_CTX *mdContext, FILE *f, word32 longcount);
/* Computes the message digest for a specified file */
int MDfile(MD5_CTX *mdContext,char *filename);
/* Finishes the message digest, including extra material */
void MD_addbuffer (MD5_CTX *mdContext, byte *buf, int buflen, boolean finish);